const fs = require("fs")
const path = require('path');
const dirPath = path.resolve('.');
export function readJson(path:string){
    return new Promise((reslove)=>{
        const fileContent = fs.readFileSync(path, 'utf-8');
        let json =  JSON.parse(fileContent)
        reslove(json)
    })
}